package com.xy.exam.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

@Data
public class UserUpdateDTO {

    @NotBlank(message = "添加用户名失败,用户名不能为空")
    private String username;

    private String password;

    private String nickname;

    private String phone;

    private String identityNum;

    private String address;

    private Integer role;

    private String avatar;

    private Integer enable;

}
